const listeningRouter = [
  {
    path: "/listening",
    component: () => import("@/views/listening/list.vue"),
    name: "listening",
    meta: {
      title: "听力",
    },
  },
  {
    path: "/listening/search",
    component: () => import("@/views/listening/search.vue"),
    name: "listening-search",
    meta: {
      title: "听力",
    },
  },
  {
    path: "/listening/book-details",
    component: () => import("@/views/listening/bookDetails.vue"),
    name: "book-details",
    meta: {
      title: "书籍详情",
    },
  },
  {
    path: "/listening/book-unit",
    component: () => import("@/views/listening/bookUnit.vue"),
    name: "book-unit",
    meta: {
      title: "试题测试",
    },
  },
  {
    path: "/listening/chapter-detail",
    component: () => import("@/views/listening/chapterDetail.vue"),
    name: "chapter-detail",
    meta: {
      title: "章节详情",
    },
  },
  {
    path: "/listening/hand-work",
    component: () => import("@/views/listening/handWork.vue"),
    name: "hand-work",
    meta: {
      title: "交作业",
    },
  },
  {
    path: "/listening/work-score",
    component: () => import("@/views/listening/workScore.vue"),
    name: "work-score",
    meta: {
      title: "作业评分",
    },
  },
  {
    path: "/listening/work-details",
    component: () => import("@/views/listening/workDetails.vue"),
    name: "work-details",
    meta: {
      title: "作业详情",
    },
  },
];

export default listeningRouter;
